<template>
    <div class="mbx">
        <!-- <div>{{nav[0].name}} / {{ nav[1].name }}</div> -->
        <span v-for="item,index in nav" :key="index" :style="index!=nav.length-1 ? 'color:#999':'color:#000'" >{{ item.name }} /</span>
    </div>
</template>

<script>
export default {
    name:'Crumb',
    props:['nav'],
    data() {
        return {
            
        };
    },
    // 根据点击传来的id发送请求
    // 获取到路由传来的参数
    created() {

    },
    mounted() {
        
    },

    methods: {

    },
};
</script>

<style lang="css">
.mbx{
    line-height: 50px;
}
</style>